{extend name="layout"}
{block name="content"}
<section class="Hui-article-box">
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
        <span class="c-gray en">&gt;</span>
        品牌管理
        <span class="c-gray en">&gt;</span>
        编辑<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
             href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
    </nav>
    <div class="Hui-article">
        <form class="form form-horizontal">
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1"><span class="c-red">*</span>中文名称</label>
                <div class="formControls col-xs-8 col-sm-2">
                    <input type="text" class="input-text" name="brand_name" readonly value="{$info.brand_name}">
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">英文名称</label>
                <div class="formControls col-xs-8 col-sm-2">
                    <input type="text" class="input-text" name="brand_letter" readonly value="{$info.brand_letter}">
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">品牌首字母</label>
                <div class="formControls col-xs-8 col-sm-2">
                    <input type="text" class="input-text" name="brand_first_char" readonly
                           value="{$info.brand_first_char}">
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">品牌网址</label>
                <div class="formControls col-xs-8 col-sm-2">
                    <input type="text" class="input-text" name="site_url" readonly value="{$info.site_url}">
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1"><span class="c-red">*</span>品牌LOGO</label>
                <div class="formControls col-xs-8 col-sm-4">
                    <img class="layui-upload-img brand_logo" src="{$info.brand_logo}" style="width: 100px;">
                    <input type="hidden" class="input-text" id="brand_logo" name="brand_logo"
                           value="{$info.brand_logo}">
                </div>
            </div>
            
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">品牌专区大图</label>
                <div class="formControls col-xs-8 col-sm-4">
                    <img class="layui-upload-img index_img" src="{$info.index_img}" style="width: 100px;">
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">品牌背景图</label>
                <div class="formControls col-xs-8 col-sm-4">
                    <img class="layui-upload-img brand_bg" src="{$info.brand_bg}" style="width: 100px;">
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">品牌描述</label>
                <div class="formControls col-xs-8 col-sm-4">
                    <textarea name="brand_desc" readonly class="textarea">{$info.brand_desc|default=''}</textarea>
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">排序</label>
                <div class="formControls col-xs-8 col-sm-2">
                    <input type="text" class="input-text" readonly name="sort_order"
                           value="{$info.sort_order|default='50'}">
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">是否显示</label>
                <div class="formControls col-xs-8 col-sm-4 skin-minimal">
                    <div class="radio-box">
                        <input type="radio" name="is_show" value="1" checked>
                        <label>是</label>
                    </div>
                    <div class="radio-box">
                        <input type="radio" value="0" name="is_show">
                        <label>否</label>
                    </div>
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-1">加入推荐</label>
                <div class="formControls col-xs-8 col-sm-4 skin-minimal">
                    <div class="radio-box">
                        <input type="radio" name="audit_status" value="1" checked>
                        <label>是</label>
                    </div>
                    <div class="radio-box">
                        <input type="radio" value="0" name="audit_status">
                        <label>否</label>
                    </div>
                </div>
            </div>
        </form>
    </div>
</section>
{/block}